@mixin ad-form {
  // 表单项自适应宽度
  .el-form-item { display: flex; width: 100%;
    .el-form-item__content { flex: 1; }}
  // 表单项自定义样式
  .el-form-item__label { padding-right: 0; color: #1a1a1a; }
  .el-input.el-input-group--append {
    .el-input__inner { height: auto; border-right: none; }
    .el-input-group__append { padding: 0 8px 0 0; background-color: transparent; color: #1a1a1a; }}
  .el-autocomplete { width: 100%; }
  .el-input-number { display: block; width: 100%;
    &.tel input, &.money input { text-align: left; }}
  .el-select { display: block; width: 100%;
    input { display: block; }}
  .el-cascader { width: 100%;
    .el-input__inner { height: auto !important; line-height: 26px; }
    .el-cascader__search-input { height: auto; }}
  .el-date-editor { display: block; width: 100%; }
  .el-switch .el-switch__label * { font-size: 12px; }

  .el-form-item--mini { margin-bottom: 12px;
    .el-form-item__label { font-size: 12px; }}

  //.el-row:last-child .el-form-item { margin-bottom: 0; }

  .op.fix-bottom { position: fixed; z-index: 20; bottom: 0; left: 0; right: 0; display: flex; padding: 12px 0; justify-content: center; background: #F1F1F1; box-shadow: 0px -3px 6px 0px rgba(0,0,0,0.16);
    .center { display: flex; justify-content: flex-end; }
    .el-button { padding: 8px 24px; }
  }
}

.ad-form {
  @include ad-form;
}

.page-form {
  @include ad-form;
  .el-form-item__content { margin-left: 15px; }
  .line { height: 1px; background: #ececec; }
  .pull { padding-left: 0;
    .el-form-item__content { margin-left: 0; }
  }
}